<!--编辑禁止IP-->
<div class="dialog_content">
	<form id="info_form" name="info_form" action="{:u('ipban/edit')}" method="post">
	<table width="100%" cellpadding="2" cellspacing="1" class="table_form">
		<tr>
			<th width="80">类型 :</th>
			<td>
				<select id="type" name="type">
				<option value="uname" {if trim(rs("type"))="uname"}selected="selected"{/if}>会员名</option>
				<option value="ip" {if trim(rs("type"))="ip"}selected="selected"{/if}>ip</option>
				<option value="email" {if trim(rs("type"))="email"}selected="selected"{/if}>email</option>
				</select>
			</td>
		</tr>
        <tr>
			<th width="80">内容 :</th>
			<td><input type="text" name="name" id="name" value="{$rs('name')}" class="input-text"></td>
		</tr>
		<tr>
			<th width="80">有效期 :</th>
			<td><input type="text" name="expires_time" id="expires_time" value="{:StdTime(rs("expires_time"))}" class="date input-text J_date_picker"></td>
		</tr>
	</table>
	<input type="hidden" name="id" value="{$rs('id')}" />
	</form>
</div>
<script>
$(function(){
	$("#name").formValidator({onshow:lang.please_input+'黑名单名称',onfocus:lang.please_input+'黑名单名称'}).inputValidator({min:1,onerror:lang.please_input+'黑名单名称'}).defaultPassed();
});
</script>